import request from '@/utils/request'

/**
 * @description: 获取本月与上月的能源损耗
 * @return {*}
 */
export function getMonthWastageAssetsOfMonth() {
  return request({
    url: '/wastage/assets/line',
    method: 'get'
  })
}

/**
 * @description: 获取当月的设备能源损耗
 * @return {*}
 */
export function getWastageAssetsOfMachine() {
  return request({
    url: '/wastage/assets/machine/line',
    method: 'get'
  })
}
